<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加用户 - BsAdmin后台模板 - 经典版演示</title>
</head>
<body>

<div id="app" class="d-flex">
    <jsp:include page="left.jsp"></jsp:include>

    <main>
        <header>
            <a href="http://www.qadmin.net" target="_blank">网站首页</a>

            <div class="dropdown float-right">
                <button class="btn  btn-sm  dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown"
                        aria-haspopup="true" aria-expanded="false">
                    <svg width="20" height="1em" viewBox="0 0 16 16" class="bi bi-emoji-smile-fill rounded-circle"
                         fill="currentColor" xmlns="http://www.w3.org/2000/svg">
                        <path fill-rule="evenodd"
                              d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zM4.285 9.567a.5.5 0 0 1 .683.183A3.498 3.498 0 0 0 8 11.5a3.498 3.498 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.498 4.498 0 0 1 8 12.5a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683zM10 8c.552 0 1-.672 1-1.5S10.552 5 10 5s-1 .672-1 1.5S9.448 8 10 8z"/>
                    </svg>
                    <!--可以使用图片,大小20,class='rounded-circle'-->
                    BsAdmin
                </button>

                <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu2">
                    <a class="dropdown-item" href="repwd.html">修改密码</a>
                    <a class="dropdown-item" href="out.html">退出登录</a>
                </div>
            </div>

        </header>

        <div id="body">


            <main>
                <div class="main">
                    <div class="title-box">
                        <h5>新增用户</h5>
                    </div>
                    <div class="form-box">
                        <div class="row">
                            <div class="col-5">
                                <form action="${pageContext.request.contextPath}/AddServlet" method="post"
                                      enctype="multipart/form-data">
                                    <div class="form-group">
                                        <label>手机号</label>
                                        <input type="number" name="phone" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>

                                    <div class="form-group">
                                        <label>昵称</label>
                                        <input type="text" name="carName" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>

                                    <div class="form-group">
                                        <label>密码</label>
                                        <input type="password" name="password" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>

                                    <div class="form-group">
                                        <label>确认密码</label>
                                        <input type="password" name="repassword" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>

                                    <div class="form-group">
                                        <label>QQ</label>
                                        <input type="text" name="repassword" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>
                                    <div class="form-group">
                                        <label>微信</label>
                                        <input type="text" name="repassword" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>
                                    <div class="form-group">
                                        <label>故乡</label>
                                        <input type="text" name="repassword" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>
                                    <div class="form-group">
                                        <label>所在地</label>
                                        <input type="text" name="repassword" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>
                                    <div class="form-group">
                                        <label>占位</label>
                                        <input type="text" name="repassword" class="form-control">
                                        <small class="form-text text-muted"></small>
                                    </div>
                                    <div class="form-group">
                                        <label>占位</label>
                                        <input type="file" name="ufile" class="form-control">
                                        <small class="form-text text-muted"></small>
                                        <img height="100px" src="https://dengren.oss-cn-guangzhou.aliyuncs.com/%E9%9D%A2%E8%AF%95%E9%A2%98.png"/>
                                    </div>
                            </div>
                        </div>

                    </div>
                    <div class="submit-box">
                        <button type="submit" class="btn btn-primary">确定提交</button>
                        <button type="button" onclick="window.history.back()" class="btn btn-outline-secondary">取消
                        </button>
                    </div>
                </div>
            </main>
            </form>
        </div>
    </main>
</div>
</body>
</html>
